package com.px.project.module.it.entity;

import java.util.Date;

import com.px.common.entity.FullBaseEntity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 智能排产》》进度管理》》公共消息数据访问对象
 *
 * @author 品讯科技
 * @date 2024-08
 */
@Getter
@Setter
@Accessors(chain = true)
public class CommonMessageDao extends FullBaseEntity {
    private static final long serialVersionUID = -886989266256122628L;
    /**
     * 项目管理ID
     */
    @TableField(value = "project_management_id")
    private Long projectManagementId;
    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;
    /**
     * 内容
     */
    @TableField(value = "content")
    private String content;
    /**
     * 完成时间
     */
    @TableField(value = "finish_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date finishTime;
    /**
     * 业务表ID
     */
    @TableField(value = "object_id")
    private Long objectId;
    /**
     * 来源类型，1，周计划，0，月计划，2，修改计划
     */
    @TableField(value = "source_type")
    private Integer sourceType;
}